package com.bs.manager04.mapper;

import com.bs.manager04.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 角色管理表 Mapper 接口
 * </p>
 *
 * @author yao
 * @since 2022-12-17
 */
public interface RoleMapper extends BaseMapper<Role> {

    //根据用户id，查询该用户所对应的角色
   public List<Role> addRoles(String userid);
}
